package com.cgc.venus.server.ci.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

/**
 * Created by 业哥 on 2018/11/14.
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({}) //需要忽略的属性，请添加在{}内，多个使用请“,”号隔开
public class PipelineBuildLogVO  {
    private String displayName;
    private String fullDisplayName;
    private String id;
    private String result;
    private String consoleOutputText;
    private String consoleOutputHtml;
    private List<StageConsoleOutputVO> pipelineConsoleOutputText;
    private long number;
    private long duration;
    private long timestamp;
    private String timeShow;

    public PipelineBuildLogVO() {
    }
    public PipelineBuildLogVO(String displayName, String fullDisplayName, String id, String result, String consoleOutputText, String consoleOutputHtml, List<StageConsoleOutputVO> pipelineConsoleOutputText, long number, long duration, long timestamp,String timeShow) {
        this.displayName = displayName;
        this.fullDisplayName = fullDisplayName;
        this.id = id;
        this.result = result;
        this.consoleOutputText = consoleOutputText;
        this.consoleOutputHtml = consoleOutputHtml;
        this.pipelineConsoleOutputText = pipelineConsoleOutputText;
        this.number = number;
        this.duration = duration;
        this.timestamp = timestamp;
        this.timeShow= timeShow;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getFullDisplayName() {
        return fullDisplayName;
    }

    public void setFullDisplayName(String fullDisplayName) {
        this.fullDisplayName = fullDisplayName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getConsoleOutputText() {
        return consoleOutputText;
    }

    public void setConsoleOutputText(String consoleOutputText) {
        this.consoleOutputText = consoleOutputText;
    }

    public String getConsoleOutputHtml() {
        return consoleOutputHtml;
    }

    public void setConsoleOutputHtml(String consoleOutputHtml) {
        this.consoleOutputHtml = consoleOutputHtml;
    }

    public List<StageConsoleOutputVO> getPipelineConsoleOutputText() {
        return pipelineConsoleOutputText;
    }

    public void setPipelineConsoleOutputText(List<StageConsoleOutputVO> pipelineConsoleOutputText) {
        this.pipelineConsoleOutputText = pipelineConsoleOutputText;
    }

    public long getNumber() {
        return number;
    }

    public void setNumber(long number) {
        this.number = number;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTimeShow() {
        return timeShow;
    }

    public void setTimeShow(String timeShow) {
        this.timeShow = timeShow;
    }
}
